package showtime.framework.algorithm.astar
{
	/**
	 * @project AstarDemo
	 * @date 2011-6-29
	 * @author 绿豆蛙
	 * 
	 */
	public interface IMapModel
	{	
		function getNode(col:int, row:int):Node;
		
		function setWalkable(col:int, row:int, value:Boolean):void;
			
		function getNodesUnderPoint(xPos:Number, yPos:Number, exception:Array = null):Array;
		
		function hasBarrier(startX:int, startY:int, endX:int, endY:int):Boolean;
	}
}